<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:display="http://www.w3.org/1999/xhtml"
      xmlns:div.display="http://www.w3.org/1999/xhtml" xmlns:row.display="http://www.w3.org/1999/xhtml">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>applySearchResult</title>

    <!-- Bootstrap Core CSS -->
    <link th:href="@{/vendor/bootstrap/css/bootstrap.min.css}"  href="../static/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link th:href="@{/vendor/metisMenu/metisMenu.min.css}" rel="stylesheet">

    <!-- Custom CSS -->
    <link th:href="@{/dist/css/sb-admin-2.css}" rel="stylesheet">

    <!-- Custom Fonts -->
    <link th:href="@{/vendor/font-awesome/css/font-awesome.min.css}" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->


    <script type="text/javascript">

    </script>
    <style type="text/css">
        ul {
            width: 100%;
            margin: 0 auto;
        }
        ul li {
            float: left;
            width: auto;
        }
        #iframeMapping{
            width: 100%;
        }
        #iframeMapping{
            height: 450px;
        }
    </style>

</head>

<body style="overflow-y: scroll; overflow-x: scroll">

<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#"></a>
        </div>
        <div>
            <ul class="nav navbar-nav">
                <li id="condition">
                    <a href="#"><i class="fa fa-newspaper-o fa-fw"></i> 状况</a></li>
                <li id="applicantDetails">
                    <a href="#"><i class="fa fa-newspaper-o fa-fw"></i>申请人详细信息</a></li>
                <li id="contactRecord">
                    <a href="#"><i class="fa fa-newspaper-o fa-fw"></i>联系记录</a></li>
                <li id="reservationRecord">
                    <a href="#"><i class="fa fa-newspaper-o fa-fw"></i>预约记录</a></li>
                <li id="auditRecord">
                    <a href="#"><i class="fa fa-newspaper-o fa-fw"></i>审核记录</a></li>
            </ul>
        </div>
    </div>
</nav>

<div>
    <input id="custcode" th:value="${custcode}" style="display: none">
</div>

<iframe id="iframeMapping" src=""  ></iframe>

<!-- jQuery -->
<script th:src="@{/vendor/jquery/jquery.min.js}"></script>

<!-- Bootstrap Core JavaScript -->
<script th:src="@{/vendor/bootstrap/js/bootstrap.min.js}" ></script>

<!-- Metis Menu Plugin JavaScript -->
<script th:src="@{/vendor/metisMenu/metisMenu.min.js}"></script>

<!-- Custom Theme JavaScript -->
<script th:src="@{/dist/js/sb-admin-2.js}"></script>

<script type="text/javascript">

    $('#condition').bind('click',function(){
        var custcode=$('#custcode').val();
        $('#iframeMapping').attr('src',"/applyInfo?custcode="+custcode);
    });


</script>

</body>

</html>